﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderSelection.aspx.cs" Inherits="WMS6.Web.Outbound.OrderSelection" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>OrderSelection</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>
    <script src="../Js/Verification.js" type="text/javascript"></script>
    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        
        function newOrderSelection()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "OrderSelection.aspx?from=" + escape(from);
            return false;
        }
          //弹出窗口选择货主
        function selectOwner(txtname) {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        }
        //弹出窗口选择承运商
        function selectCarrier(txtname) {
            var rtnValue = popModalWindow('../Configuration/CarrierQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;              
            }
        }
           //弹出窗口选择客户
        function selectCustomer(txtname) {
            var rtnValue = popModalWindow('../Configuration/CustomerQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        }
            //弹出窗口选择货品
        function selectSku(txtname) {
            var rtnValue = popModalWindow('../Configuration/SKUQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        } 
        //弹出窗口选择lot
        function selectLot(txtname) {
            var rtnValue = popModalWindow('../Inventory/LotAttributeQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        } 
                //弹出窗口选择SkuClass
        function selectSkuClass(txtname) {
            var rtnValue = popModalWindow('../Configuration/SkuClassQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        }

        function confirmMsg(code) {
            if (code == "F7200_001") {
                if (confirm('<%=GetGlobalMsgResource("F7200_001") %>')) {
                    return true;
                }
                else {
                    return false;
                }
            }
        }
        
    </script>
</head>
<body>
    <form id="F7021" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
    
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblOwner" runat="server" CssClass="label_header" 
                            Text="订单筛选条件" meta:resourcekey="lblOwner"></asp:Label></td>
                    <td><asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>"  
                            CausesValidation="False" onclick="btnGoBack_Click" Enabled="False" 
                             /></td>
                    <td><asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>" 
                            Enabled="False"  AccessKey="n" OnClientClick="newOrderSelection();" 
                            meta:resourcekey="btnNew" /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>"  Enabled="False"
                            AccessKey="s" onclick="btnSave_Click" 
                            meta:resourcekey="btnSave"   /></td>
                    <td><asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>"   Enabled="False"
                            AccessKey="d"  OnClientClick="javascript:if(confirmMsg('F7200_001'))return true; else return false;" 
                            onclick="btnDelete_Click" meta:resourcekey="btnDelete"  /></td>
                    <td>
                        <asp:Button ID="btnCopy" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCopy%>" AccessKey="c" 
                            onclick="btnCopy_Click" meta:resourcekey="btnCopy" /> 
                    </td>

                </tr>
            </table>
        </div>
    
    
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                        meta:resourcekey="lblMsg"></asp:Label>
                </div>
                
                
                <div id="div_menu">
                    
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1"></div>
                    </div>
                    <div style="float:left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)" id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" 
                            meta:resourcekey="one1">常规</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1"></div>
                    </div>
                    
               </div>
                
                <div id="div_content">
                    <div id="con_one_1" style="display:block;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;" >
                            <tr>
                                <td width="180px" colspan=2>
                                    <asp:Label ID="lblOrderSelectionID" runat="server" CssClass="label" 
                                        Text="订单筛选条件编号" meta:resourcekey="lblOrderSelectionID"></asp:Label><font class="must_input">*</font>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td width="180px" colspan=2>
                                    <asp:TextBox ID="txtOrderSelectionID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderSelectionID"></asp:TextBox>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td width="180px" colspan=2>
                                    <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="描述" 
                                        meta:resourcekey="lblDescr"></asp:Label>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td width="180px" colspan=2 >
                                    <asp:TextBox ID="txtDescr" runat="server" CssClass="largetextbox" 
                                        meta:resourcekey="txtDescr"></asp:TextBox>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>

                            <tr>
                                <td width="180px" colspan=2>
                                    <asp:CheckBox ID="chbSysCreate" runat="server" CssClass="checkbox" Text="系统创建"  
                                        Enabled="False" meta:resourcekey="chbSysCreate" />
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px" colspan=2>
                                    <asp:CheckBox ID="chbIsActive" runat="server" CssClass="checkbox" Text="启用" 
                                        Checked="True" meta:resourcekey="chbIsActive" />
                                </td>
                            </tr>
                            
                            <tr>
                                <td></td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblFrom" runat="server" CssClass="label" Text="从" 
                                        meta:resourcekey="lblFrom"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTo" runat="server" CssClass="label" Text="至" 
                                        meta:resourcekey="lblTo"></asp:Label>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderIdStart" runat="server"  CssClass="label" Text="订单号" 
                                        meta:resourcekey="lblOrderIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderIdEnd" runat="server"  CssClass="label" Text="订单号" 
                                        meta:resourcekey="lblOrderIdEnd"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCityBegin" runat="server"  CssClass="label" Text="城市" 
                                        meta:resourcekey="lblCityBegin"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCityEnd" runat="server"  CssClass="label" Text="城市" 
                                        meta:resourcekey="lblCityEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderIdStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderIdEnd"></asp:TextBox>
                                </td>
                                 <td width="180px">
                                    <asp:TextBox ID="txtCityStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCityStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCityEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCityEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerIdStart" runat="server"  CssClass="label" Text="货主代码" 
                                        meta:resourcekey="lblOwnerIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerIdEnd" runat="server"  CssClass="label" Text="货主代码" 
                                        meta:resourcekey="lblOwnerIdEnd"></asp:Label>
                                </td>
                                   <td width="180px">
                                    <asp:Label ID="lblCarrierIdStart" runat="server"  CssClass="label" Text="承运商代码" 
                                        meta:resourcekey="lblCarrierIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierIdEnd" runat="server"  CssClass="label" Text="承运商代码" 
                                        meta:resourcekey="lblCarrierIdEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOwnerIdStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectOwner('txtOwnerIdStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOwnerIdEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectOwner('txtOwnerIdEnd');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCarrierIdStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCarrier('txtCarrierIdStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCarrierIdEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCarrier('txtCarrierIdEnd');"/>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderStatusStart" runat="server"  CssClass="label" 
                                        Text="订单状态" meta:resourcekey="lblOrderStatusStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderStatusEnd" runat="server"  CssClass="label" Text="订单状态" 
                                        meta:resourcekey="lblOrderStatusEnd"></asp:Label>
                                </td>
                                  <td width="180px">
                                    <asp:Label ID="lblDoorStart" runat="server"  CssClass="label" Text="门" 
                                        meta:resourcekey="lblDoorStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDoorEnd" runat="server"  CssClass="label" Text="门" 
                                        meta:resourcekey="lblDoorEnd"></asp:Label>
                                </td>
                             
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderStatusStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderStatusStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderStatusEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderStatusEnd"></asp:TextBox>
                                </td>
                                    <td width="180px">
                                    <asp:TextBox ID="txtDoorStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtDoorStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDoorEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtDoorEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderTypeStart" runat="server"  CssClass="label" Text="订单类型" 
                                        meta:resourcekey="lblOrderTypeStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderTypeEnd" runat="server"  CssClass="label" Text="订单类型" 
                                        meta:resourcekey="lblOrderTypeEnd"></asp:Label>
                                </td>
                                  <td width="180px">
                                    <asp:Label ID="lblRouteStart" runat="server"  CssClass="label" Text="路线" 
                                        meta:resourcekey="lblRouteStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblRouteEnd" runat="server"  CssClass="label" Text="路线" 
                                        meta:resourcekey="lblRouteEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderTypeStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderTypeStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderTypeEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderTypeEnd"></asp:TextBox>
                                </td>
                                 <td width="180px">
                                    <asp:TextBox ID="txtRouteStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtRouteStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtRouteEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtRouteEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderDateStart" runat="server"  CssClass="label" Text="订单日期" 
                                        meta:resourcekey="lblOrderDateStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderDateEnd" runat="server"  CssClass="label" Text="订单日期" 
                                        meta:resourcekey="lblOrderDateEnd"></asp:Label>
                                </td>
                                 <td width="180px">
                                    <asp:Label ID="lblStopStart" runat="server"  CssClass="label" Text="站点" 
                                        meta:resourcekey="lblStopStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblStopEnd" runat="server"  CssClass="label" Text="站点" 
                                        meta:resourcekey="lblStopEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderDateStart" runat="server"  
                                        onblur="Javascript:dataVer._IsTime(this,'lblMsg')" CssClass="textbox" 
                                        meta:resourcekey="txtOrderDateStart"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtOrderDateStart)"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderDateEnd" runat="server"  
                                        onblur="Javascript:dataVer._IsTime(this,'lblMsg')" CssClass="textbox" 
                                        meta:resourcekey="txtOrderDateEnd"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtOrderDateEnd)"/>
                                </td>
                                    <td width="180px">
                                    <asp:TextBox ID="txtStopStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtStopStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtStopEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtStopEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblDeliveryDataStart" runat="server"  CssClass="label" 
                                        Text="交货日期" meta:resourcekey="lblDeliveryDataStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDeliveryDataEnd" runat="server"  CssClass="label" Text="交货日期" 
                                        meta:resourcekey="lblDeliveryDataEnd"></asp:Label>
                                </td>
                                 <td width="180px">
                                    <asp:Label ID="lblLoadIdStart" runat="server"  CssClass="label" Text="装载号" 
                                        meta:resourcekey="lblLoadIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblLoadIdEnd" runat="server"  CssClass="label" Text="装载号" 
                                        meta:resourcekey="lblLoadIdEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtDeliveryDataStart" runat="server"  
                                        onblur="Javascript:dataVer._IsTime(this,'lblMsg')" CssClass="textbox" 
                                        meta:resourcekey="txtDeliveryDataStart"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtDeliveryDataStart)"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDeliveryDataEnd" runat="server" 
                                        onblur="Javascript:dataVer._IsTime(this,'lblMsg')"  CssClass="textbox" 
                                        meta:resourcekey="txtDeliveryDataEnd"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtDeliveryDataEnd)"/>
                                </td>
                                  <td width="180px">
                                    <asp:TextBox ID="txtLoadIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLoadIdStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtLoadIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLoadIdEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblExternOrderIdStart" runat="server"  CssClass="label" 
                                        Text="外部订单号" meta:resourcekey="lblExternOrderIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblExternOrderIdEnd" runat="server"  CssClass="label" 
                                        Text="外部订单号" meta:resourcekey="lblExternOrderIdEnd"></asp:Label>
                                </td>
                                   <td width="180px">
                                    <asp:Label ID="lblSkuIdStart" runat="server"  CssClass="label" Text="货品代码" 
                                        meta:resourcekey="lblSkuIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblSkuIdEnd" runat="server"  CssClass="label" Text="货品代码" 
                                        meta:resourcekey="lblSkuIdEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtExternOrderIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtExternOrderIdStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtExternOrderIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtExternOrderIdEnd"></asp:TextBox>
                                </td>
                                 <td width="180px">
                                    <asp:TextBox ID="txtSkuIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuIdStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSku('txtSkuIdStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtSkuIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuIdEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSku('txtSkuIdEnd');"/>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderPriorityStart" runat="server"  CssClass="label" 
                                        Text="订单优先级" meta:resourcekey="lblOrderPriorityStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderPriorityEnd" runat="server"  CssClass="label" 
                                        Text="订单优先级" meta:resourcekey="lblOrderPriorityEnd"></asp:Label>
                                </td>
                                    <td width="180px">
                                    <asp:Label ID="lblLotStart" runat="server"  CssClass="label" Text="批号" 
                                        meta:resourcekey="lblLotStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblLotEnd" runat="server"  CssClass="label" Text="批号" 
                                        meta:resourcekey="lblLotEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderPriorityStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderPriorityStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderPriorityEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderPriorityEnd"></asp:TextBox>
                                </td>
                                 <td width="180px">
                                    <asp:TextBox ID="txtLotStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLotStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectLot('txtLotStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtLotEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLotEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectLot('txtLotEnd');"/>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblCompanyStart" runat="server"  CssClass="label" Text="客户代码" 
                                        meta:resourcekey="lblCompanyStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCompanyEnd" runat="server"  CssClass="label" Text="客户代码" 
                                        meta:resourcekey="lblCompanyEnd"></asp:Label>
                                </td>
                                   <td width="180px">
                                    <asp:Label ID="lblSkuClassIdStart" runat="server"  CssClass="label" Text="货品分类" 
                                        meta:resourcekey="lblSkuClassIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblSkuClassIdEnd" runat="server"  CssClass="label" Text="货品分类" 
                                        meta:resourcekey="lblSkuClassIdEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtCompanyStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCompanyStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCustomer('txtCompanyStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCompanyEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCompanyEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCustomer('txtCompanyEnd');"/>
                                </td>
                                  <td width="180px">
                                    <asp:TextBox ID="txtSkuClassIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuClassIdStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSkuClass('txtSkuClassIdStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtSkuClassIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuClassIdEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSkuClass('txtSkuClassIdEnd');"/>
                                </td>
                            </tr>
                            <tr>
                            <td height="10px">
                            
                            </td>
                               <td height="10px">
                            
                            </td>
                               <td height="10px">
                            
                            </td>
                               <td height="10px">
                            
                            </td>
                            </tr>
                         </table>
                    </div>
                </div>
              
              <input type="hidden" id="hiddenFlag" />     
              <input type="hidden" id="hdnLineID" runat="server" >
                  <input id="hdnOrderID" runat="server" type="hidden"></input>
                      <input id="hdnFlag" runat="server" type="hidden" value="0"></input>
                          <input id="hdnCopy" runat="server" type="hidden"></input>
                          </input>
                      </input>
                  </input>
                </input>
              
             </ContentTemplate>
             
             <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnNew" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btnCopy" EventName="Click" />
            </Triggers>
             
          </asp:UpdatePanel>
        <input type="hidden" id="hdnDataFormat"  runat="server"/>  
        <input type="hidden" id="hdncalendarFlag"  runat="server"/>  
        <input type="hidden" id="hdnFrom" runat="server" />
    </div>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>
